package uk.co.q3c.deplan.client.domain.dag;


public interface SharedStructure {

	String getName();

	void setName(String name);

	int getVersion();

	void setChangeLog(SharedStructureChangeLog changeLog);

	/**
	 * @see DAG#applyChanges()
	 */
	void applyChanges();

	/**
	 * @see DAG#clearChanges()
	 */
	void clearChanges();

	void incrementVersion();

	/**
	 * @see DAG#hasChanges()
	 * @return
	 */
	boolean hasChanges();

}
